<%@ include file="/view/template/header.jsp"%>	
	<div id="content">
    	<%@ include file="/view/ehr/ehr_common.jsp"%>
        <div class="right-content">
			<div class="box">
				<s:if test='replyMessage.message!="empty"'>
					<s:property value="replyMessage.message"/>
				</s:if>
				<s:else>
					<s:form action="transfer_patient_form">
						<div class="clear"></div>
						<h1><s:text name="label.transferToAnotherWard.title" /></h1>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.patient_Id"></s:label></span>
							<s:textfield key="transferToAnotherWard.patientId" value="%{#parameters['patient_id'][0]}" readonly="true" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.Hospital"></s:label></span>
							<s:textfield key="transferToAnotherWard.hospital" value="CSTH" readonly="true" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.transfer_Time"></s:label></span>
							<s:textfield key="transferToAnotherWard.transferTime" id="datetimepicker" class="input-text" cssErrorClass="error"></s:textfield>
						</div>
						<br/>
						<div class="clear"></div>
						<h1><s:text name="label.transferToAnotherWard.from_Title" /></h1>
						<br/>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.from_Ward_No"></s:label></span>
							<s:textfield key="transferToAnotherWard.fromWardNo" value="%{#parameters['ward_no'][0]}" readonly="true" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.from_Bed_No"></s:label></span>
							<s:textfield key="transferToAnotherWard.fromBedNo" value="%{#parameters['bed_no'][0]}" readonly="true" cssErrorClass="error"/>
						</div>
						<div class="clear"></div>
						<h1><s:text name="label.transferToAnotherWard.to_Title" /></h1>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.to_Ward_No"></s:label></span>
							<s:textfield key="transferToAnotherWard.toWardNo" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.to_Bed_No"></s:label></span>
							<s:textfield key="transferToAnotherWard.toBedNo" cssErrorClass="error"/>
						</div>
						<div class="clear"></div>
						<h1><s:text name="label.transferToAnotherWard.other_Titile" /></h1>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.transferring_Officer_Id"></s:label></span>
							<s:textfield key="transferToAnotherWard.transferringOfficerId" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.Reason"></s:label></span>
							<s:textfield key="transferToAnotherWard.reason" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherWard.treatment_Suggested"></s:label></span>
							<s:textfield key="transferToAnotherWard.treatmentSuggested" cssErrorClass="error"/>
						</div>
						<br/>
						<s:submit key="label.transferToAnotherWard.submit" cssClass="green" align="center"/>
					</s:form>
				</s:else>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="<% out.print(baseURL);%>/view/template/js/jquery-ui-timepicker-addon.js"></script>
		<script>
			
			$(function() {
				$('#datetimepicker').datetimepicker();
			});
		</script>
<%@ include file="/view/template/footer.jsp"%>
